package top.zackyoung.springboot.service

import com.baomidou.mybatisplus.extension.service.IService
import com.github.yulichang.base.MPJBaseService
import top.zackyoung.springboot.entity.ScalaUser

import java.util.Optional

trait ScalaUserService extends MPJBaseService[ScalaUser]{
  def getById(id: Long): Optional[ScalaUser]
  def getByIdMP(id: Long): Optional[ScalaUser]
}
